wayland: Destroy shell surface as we destroy the surface
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 19 Jan 2012 04:12:05 +0000 (23:12 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 19 Jan 2012 14:57:43 +0000 (09:57 -0500)
gdk/wayland/gdkwindow-wayland.c

index 897c61c412abe931a82bea40950ac769a7c0b9b8..ba3788c1b94e5dd82229b7bfbc217d1395da5ef6 100644 (file)
@@ -810,6 +810,7 @@ gdk_wayland_window_destroy (GdkWindow *window,
     {
       if (GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface)
        wl_surface_destroy(GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface);
+       wl_shell_surface_destroy(GDK_WINDOW_IMPL_WAYLAND (window->impl)->shell_surface);
     }
 }